FaceDetection

sealed class FaceDetection : OnnxModelType<FaceDetectionModel>

Face detection models

Types

Companion
Link copied to clipboard
object Companion
UltraFace320
Link copied to clipboard
object UltraFace320 : ONNXModels.FaceDetection

Ultra-lightweight face detection model.

UltraFace640
Link copied to clipboard
object UltraFace640 : ONNXModels.FaceDetection

Ultra-lightweight face detection model.

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): FaceDetectionModel

Properties

inputShape
Link copied to clipboard
open val inputShape: LongArray?

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open override val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>

Inheritors

ONNXModels.FaceDetection
Link copied to clipboard
ONNXModels.FaceDetection
Link copied to clipboard